﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ActionLogic.Impl;
using CommandLogic.Interface;

namespace CommandLogic.Impl
{
    public class PauseCommand : ICommandLogic
    {
        private static PauseCommand instance = new PauseCommand();

        private PauseCommand() { }

        public static PauseCommand getInstance()
        {
            return instance;
        }

        public Dictionary<string, object> execute(Dictionary<string, object> param)
        {
            //TODO add needed actions here
            //TODO it must concern Thread, started in run command

            var executor = ActionExecutor.GetInstance();

            executor.Pause();

            return null;
        }
    }
}
